import request from "@/utils/request";

export function loginService(userAccount,password) {
    return request({
        url: "/sysUser/login",
        headers: {
            isToken: false,
        },
        method: "post",
        data: {
            userAccount,
            password
        }
    })
}

export function getUserInfoService() {
    return request({
        url: "/sysUser/info",
        method: "get"
    })
}

export function logoutService() {
    return request({
        url: "/sysUser/logout",
        method: "delete"
    })
}

